//
//  YMSettingViewController.swift
//  Driver
//
//  Created by lantaiyuan on 2017/10/25.
//  Copyright © 2017年 youmy. All rights reserved.
//  Setting

import UIKit

class YMSettingViewController: UITableViewController {

    @IBAction func logout(_ sender: YMUIButton) {
        view.window?.rootViewController = UIStoryboard.init(name: "Main", bundle: nil).instantiateInitialViewController()
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()


    }

    override func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
        return 0.01
    }
    
    override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
        tableView.deselectRow(at: indexPath, animated: true)
    }
    

}
